package com.sdx.console.activity.web.query;

import com.ibeetl.admin.core.annotation.Query;
import com.ibeetl.admin.core.util.enums.CoreDictType;
import com.ibeetl.admin.core.web.query.PageParam;
import java.util.Date;
import com.sdx.common.utils.Utils;
/**
 *活动评论查询
 */
public class ActivityCommentQuery extends PageParam {
    @Query(name = "留言id", display = true)        
    private Integer commentId;
    @Query(name = "活动id", display = true)        
    private Integer actId;
    @Query(name = "活动类型", display = true)        
    private Integer actType;
    @Query(name = "会员id", display = true)        
    private String customerId;
    @Query(name = "留言时间", display = true)        
	private String commentTime;
	private Date commentTimeStart;
	private Date commentTimeEnd;
    @Query(name = "显示状态 1、显示，0、不显示", display = true)        
    private Integer displayFlag;
    public Integer getCommentId(){
        return  commentId;
    }
    public void setCommentId(Integer commentId ){
        this.commentId = commentId;
    }
    public Integer getActId(){
        return  actId;
    }
    public void setActId(Integer actId ){
        this.actId = actId;
    }
    public Integer getActType(){
        return  actType;
    }
    public void setActType(Integer actType ){
        this.actType = actType;
    }
    public String getCustomerId(){
        return  customerId;
    }
    public void setCustomerId(String customerId ){
        this.customerId = customerId;
    }
	public String getCommentTime(){
		return  commentTime;
	}
	public void setCommentTime(String commentTime ){
		this.commentTime = commentTime;
		Date[] timePair = Utils.parseQueryTime(commentTime);
		if (timePair!=null && timePair[0]!=null) {
			this.commentTimeStart = timePair[0];
		}
		if (timePair!=null && timePair.length==2 && timePair[1]!=null) {
		this.commentTimeEnd = timePair[1];
		}

	}
	public Date getCommentTimeStart(){
		return  commentTimeStart;
	}
	public void setCommentTimeStart(Date commentTimeStart ){
		this.commentTimeStart = commentTimeStart;
	}
	public Date getCommentTimeEnd(){
		return  commentTimeEnd;
	}
	public void setCommentTimeEnd(Date commentTimeEnd ){
		this.commentTimeEnd = commentTimeEnd;
	}
    public Integer getDisplayFlag(){
        return  displayFlag;
    }
    public void setDisplayFlag(Integer displayFlag ){
        this.displayFlag = displayFlag;
    }
 
}
